package com.example.bnuzzu.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author BNUZZU
 * @since 2021-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Favoritehouse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "FavoriteID", type = IdType.AUTO)
    private Integer favoriteid;

    @TableField("UserID")
    private Integer userid;

    @TableField("HouseID")
    private Integer houseid;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime datecreated;
}
